<template>
  <view>
    {{comment.content}}
  </view>
</template>

<script setup>
  import {onLoad} from '@dcloudio/uni-app'
  import nx from '@/nx';
import { ref } from 'vue';
  const commentApi = nx.$api.comment
  defineOptions({
    name:"",
  })
  const comment = ref()
  
  onLoad(async (e) => {
    
    let resp = await commentApi.getCommentDetail(e)
    comment.value = resp.data
  })
</script>

<style lang="scss" scoped>
         
</style>
